package cn.com.server.config.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component    
@ConfigurationProperties(prefix="app-global") //接收application.yml中的myProps下面的属性 
public class AppGlobal {
	
	private String dbType;
	
	private String filterUrlPatterns;
	
	private String filterExclusions;
	
	private String druidPath;
	
	private String druidAllowIp;
	
	private String druidDenyIp;
	
	private String druidLoginUserName;
	
	private String druidLoginPassword;
	
	private String druidResetEnable;

	public String getDbType() {
		return dbType;
	}

	public void setDbType(String dbType) {
		this.dbType = dbType;
	}

	public String getFilterUrlPatterns() {
		return filterUrlPatterns;
	}

	public void setFilterUrlPatterns(String filterUrlPatterns) {
		this.filterUrlPatterns = filterUrlPatterns;
	}

	public String getFilterExclusions() {
		return filterExclusions;
	}

	public void setFilterExclusions(String filterExclusions) {
		this.filterExclusions = filterExclusions;
	}

	public String getDruidPath() {
		return druidPath;
	}

	public void setDruidPath(String druidPath) {
		this.druidPath = druidPath;
	}

	public String getDruidAllowIp() {
		return druidAllowIp;
	}

	public void setDruidAllowIp(String druidAllowIp) {
		this.druidAllowIp = druidAllowIp;
	}

	public String getDruidDenyIp() {
		return druidDenyIp;
	}

	public void setDruidDenyIp(String druidDenyIp) {
		this.druidDenyIp = druidDenyIp;
	}

	public String getDruidLoginPassword() {
		return druidLoginPassword;
	}

	public void setDruidLoginPassword(String druidLoginPassword) {
		this.druidLoginPassword = druidLoginPassword;
	}

	public String getDruidResetEnable() {
		return druidResetEnable;
	}

	public void setDruidResetEnable(String druidResetEnable) {
		this.druidResetEnable = druidResetEnable;
	}

	public String getDruidLoginUserName() {
		return druidLoginUserName;
	}

	public void setDruidLoginUserName(String druidLoginUserName) {
		this.druidLoginUserName = druidLoginUserName;
	}
}
